home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games 1996 July
/
Amiga Games 1996 #7.iso
/
userbox
/
publicdomain
/
amigabase
/
updates
/
update2.00-2.1
next >
Wrap
Text File
|
1995-11-20
|
4KB
|
94 lines
Update informations for AmigaBase V2.00 to V2.1
The following new features have been implemented in V2.1:
o New functions for programming.
o Improvements of some programming and ARexx functions.
o Improvements dealing with the filerequester.
o Keyboard control enhancement.
o Support of the Danish language.
o Several bug fixes.
New functions for programming
Several new programming functions have been introduced since V2.00
of AmigaBase. The following functions are new:
ChooseString(title, memo, gadText)
: opens a window with Title
title
. The window contains a list of selectable
strings specified by the
memo
argument, a string
field below the list which allows the input of an arbitrary
string and two buttons. The text of the left button can be
specified by the
gadText
argument.
If the user selects an item in the list then the item's string
is displayed in the string field. After selecting the button in
the bottom left corner the current string value of the string
field is returned. If the user selects
Cancel
, the
empty string is returned.
StrCmp(s1, s2)
: compares the two strings lexicographically.
The functions returns an integer that is less than zero
if
s1
<
s2
, zero if
s1
=
s2
and a value greater than
zero if
s1
>
s2
.
The string comparison is done case sensitive in contrast to
the normal operators for comparing like =, > and <.
ChoiceLabels(choice)
: returns the labels of a
Choice
variable as a memo text. Each line of the memo text contains
one label.
Now
: returns the current time.
Filename
: returns the filename of the current project as
a string. If the current project doesn't have a name yet,
the empty string is returned.
Changes
: returns an integer that represents the number of
changes that are made to the current project so far.
ARexxPort
: returns a string that contains the name of the
ARexx port of AmigaBase.
Improvements of some programming and ARexx functions
The programming function
MemoSet(memo, string, linenum)
has been
improved. Now if
linenum
is negative then the program execution
is stopped and an error message is displayed.
The third argument of the function
MidStr(string, pos, len)
may now be omitted. In this case the function returns the string
beginning at position
pos
up to the end of the string.
The ARexx function
PROJECT filename
has been improved.
Now you don't need to specify the exact filename that AmigaBase has
remembered when loading the project, but a filename that refers to
the same file in the filesystem.
Improvements using the file requester
The file requester now remembers filenames and patterns when loading
and saving projects, filters, memo texts and other files.
Additionally the filenames and patterns for filters and memo texts
can be made project dependend.
Keyboard control enhancement
The combinations Alt-Tab and Shift-Alt-Tab have been introduced
to cycle through the windows of the current project.
Support of the Danish language
Mads Lie Jensen has translated the catalog file of AmigaBase to
Danish.
Several bug fixes
Several bugs have been reported by various AmigaBase users.
Fortunately only one error has been fatal. Most bugs were
cosmetic errors or produced wrong results.